/**
 * @author: Niimp
 * @date: 2023/12/11 12:55
 * @statement:
 */
package com.dmgis.hndz.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("fxpc.dcbg")
public class Dcbg implements Serializable {

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    private String code; //行政区划代码

    private String name; //文件名称

    private String url; //文件于nginx的路径

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;//时间


}


